#ifndef _WMI_ICONNECTION_H
#define _WMI_ICONNECTION_H

/******************************************************************************
** @file	wmi_iconnection.h
** @author	Nestor Felipe
** @author	Armando Orellana
** @date	Jul 22, 2010
**
** @desc	This a interface to represent a conection.
*			
**
******************************************************************************/

#include <Wbemidl.h>
#include "wmi_hresult.h"

class WMI_IConnection 
{
 public:
	 
	/**
	* to execute a query, all connection should be make a query.
	* 
	* @param a query in wstring format
	*/
	virtual WMI_HResult* executeQuery(const wchar_t* wql_query) = 0;

	/**
	* member to close the current conection
	* 
	*/
	virtual void close() = 0;
};

#endif // Connection_h
